Crate version_spec
source ·Enums§
- Represents an unresolved version or alias that must be resolved to a fully-qualified and semantic result.
- Represents a resolved version or alias.
Functions§
- Cleans a potential version string by removing a leading
v
orV
, removing each occurence of.*
, and removing invalid spaces. - Returns true if the provided value is an alias. An alias is a word that maps to version, for example, “latest” -> “1.2.3”.